@form-cls: ~"w-form";
@form-item-cls: ~"@{form-cls}-item";


.@{form-item-cls} {
  font-size: 12px;
  margin-bottom: 19px;
  color: rgba(0,0,0,.65);
  vertical-align: top;
  .w-switch {
    margin: 6px 0;
  }
  .w-tag-group{
    margin: 7px 0;
  }
  .w-checkbox-group{
    margin: 6px 0;
  }
}
.@{form-item-cls}-control {
  position: relative;
}
.@{form-item-cls}-label {
  text-align: right;
  vertical-align: middle;
  line-height: 32px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.@{form-item-cls}-label label:after {
    content: ":";
    margin: 0 8px 0 2px;
    position: relative;
}
.@{form-item-cls}.required {
  .@{form-item-cls}-label label:before{
    display: inline-block;
    margin-right: 4px;
    content: "*";
    font-family: SimSun;
    line-height: 1;
    font-size: 12px;
    color: #f04134;
  }
}
.@{form-item-cls}-explain {
  color: rgba(0,0,0,.43);
  line-height: 1.5;
}

.@{form-item-cls}.error {
  .@{form-item-cls}-explain{
    color: red;
  }
  .w-input-inner {
    border-color:red;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.06);
  }
} 
.@{form-item-cls}.help,.@{form-item-cls}.error {
  margin-bottom: 6px;
} 


.@{form-cls}-vertical{
  
}

.@{form-cls}-inline{
  
  .@{form-item-cls}-control,.@{form-item-cls}-label,.@{form-item-cls}{
    display: inline-block;
  }
  .w-form-item-explain{
    position: absolute;
  }

}